package com.qf.cqut.util;

import org.apache.shiro.crypto.hash.Md5Hash;

public class MD5Util {
    public static String enc(String source,String salt){
        Md5Hash md5Hash = new Md5Hash(source,salt,10000);
        return md5Hash.toString();
    }

    public static void main(String[] args) {
        System.out.println(MD5Util.enc("123456", "冯涛"));
    }
}
